package com.xywl.escort.view.coupon;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.CouponListResp;

/**
 * Created by 32422 on 2018/3/7.
 */

public interface CouponContract {

    interface Presenter extends BasePresenter {
        void takeView(CouponContract.View view);

        void loadCouponList(int pageNum, String useScene, int condMinDay, double condMinPrice);
    }

    interface View extends BaseView<Presenter> {
        void updateCoupon(CouponListResp.DataBean resp);

        void loadCouponFailure(String msg);
    }
}
